﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Resources;
using System.Drawing;
using System.Windows.Forms;

/*
 * represents a  single component of the uml sequence diagram (such as an arrow or a state)
 */

namespace vmMachine
{
    class UMLLayer
    {
        private string name;
        private System.Windows.Forms.PictureBox box;

        public UMLLayer(string n, System.Windows.Forms.PictureBox box1)
        {
            this.name = n;
            this.box = box1;
        }

        public string Name
        {
            get
            {
                return this.name;
            }
            set
            {
                this.name = value;
            }
        }

        public System.Windows.Forms.PictureBox Box
        {
            get
            {
                return this.box;
            }
        }

        public void display()
        {
            box.Visible = true;
        }
        public void unDisplay()
        {
            box.Visible = false;
        }

    }
}
